<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            margin: 0 auto;
        }
        .c{
            width:200px;
            height:50px;
        }
    </style>
</head>
<body>
    <div class="c" style="background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);">渐变</div>

    <div class="c" style="background-color: #111111;">111111</div>
    <div class="c" style="background-color: #FFFFFF;">ffffff</div>
    <div class="c" style="background-color: #FFC600;">ffc600</div>
    <div class="c" style="background-color: #2E2E2E;">2e2e2e</div>
    <div class="c" style="background-color: #BA514D;">ba514d</div>
    <div class="c" style="background-color: #00A74E;">00a74e</div>
    <div class="c" style="background-color: #0E8AD9;">0e8ad9</div>
</body>
</html>